from django.urls import path, include, re_path
from drf_yasg import openapi
from drf_yasg.views import get_schema_view
from rest_framework import permissions

import books.views





urlpatterns = [

    path('books/', books.views.BooksListCreateApiView.as_view(), name='books-list-create'),
    path('books2/', books.views.get_books),
    path('books3/', books.views.get_books3),
    path('authors/', books.views.AuthorListCreateApiView.as_view(), name='author-list-create')

]

